import Vue from 'vue'
import Router from 'vue-router'
import Second from '@/components/second'
import First from '@/components/first'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      component:First
    },
    {
      path: '/second/:id',
      name:'sec',
      component:Second
    }
  ]
})
